package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生国内外竞赛获奖项目对象 t_gold_project
 * 
 * @author ruoyi
 * @date 2024-12-06
 */
public class TGoldProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 年度 */
    @Excel(name = "年度")
    private String gYear;

    /** 奖项名称 */
    @Excel(name = "奖项名称")
    private String gName;

    /** 获奖作品 */
    @Excel(name = "获奖作品")
    private String gWork;

    /** 获奖等级 */
    @Excel(name = "获奖等级")
    private Long gLev;

    /** 获奖时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "获奖时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gTime;

    /** 组织单位名称 */
    @Excel(name = "组织单位名称")
    private String unitName;

    /** 组织单位类型 */
    @Excel(name = "组织单位类型")
    private String unitType;

    /** 硕士生 */
    @Excel(name = "硕士生")
    private String masterStudent;

    /** 博士生 */
    @Excel(name = "博士生")
    private String learnedScholar;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setgYear(String gYear) 
    {
        this.gYear = gYear;
    }

    public String getgYear() 
    {
        return gYear;
    }
    public void setgName(String gName) 
    {
        this.gName = gName;
    }

    public String getgName() 
    {
        return gName;
    }
    public void setgWork(String gWork) 
    {
        this.gWork = gWork;
    }

    public String getgWork() 
    {
        return gWork;
    }
    public void setgLev(Long gLev) 
    {
        this.gLev = gLev;
    }

    public Long getgLev() 
    {
        return gLev;
    }
    public void setgTime(Date gTime) 
    {
        this.gTime = gTime;
    }

    public Date getgTime() 
    {
        return gTime;
    }
    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }
    public void setUnitType(String unitType) 
    {
        this.unitType = unitType;
    }

    public String getUnitType() 
    {
        return unitType;
    }
    public void setMasterStudent(String masterStudent) 
    {
        this.masterStudent = masterStudent;
    }

    public String getMasterStudent() 
    {
        return masterStudent;
    }
    public void setLearnedScholar(String learnedScholar) 
    {
        this.learnedScholar = learnedScholar;
    }

    public String getLearnedScholar() 
    {
        return learnedScholar;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gYear", getgYear())
            .append("gName", getgName())
            .append("gWork", getgWork())
            .append("gLev", getgLev())
            .append("gTime", getgTime())
            .append("unitName", getUnitName())
            .append("unitType", getUnitType())
            .append("masterStudent", getMasterStudent())
            .append("learnedScholar", getLearnedScholar())
            .toString();
    }
}
